﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using LuKou.Member;

namespace LuKou.Web.Form
{
    public class UserForm
    {
        [Required(ErrorMessage = "不能为空")]
        [DisplayName("登录帐号：")]
        public string LoginID { get; set; }

        [Required(ErrorMessage = "不能为空")]
        [DisplayName("密码：")]
        public string PassWord { get; set; }

        [Required(ErrorMessage = "不能为空")]
        [DisplayName("确认密码：")]
        public string RePassWord { get; set; }

        [Required(ErrorMessage = "不能为空")]
        [DisplayName("用户类型：")]
        public EUserType UserType { get; set; }

        [Required(ErrorMessage = "不能为空")]
        [DisplayName("电子邮箱：")]
        public string Email { get; set; }

        [Required(ErrorMessage = "不能为空")]
        [DisplayName("手机号码：")]
        public string Mobile { get; set; }

        [DisplayName("用户性名：")]
        public string Name { get; set; }

        [DisplayName("用户性别：")]
        public EUserSex UserSex { get; set; }
        

        [DisplayName("网店网址：")]
        public string ShopURL { get; set; }

        [DisplayName("腾讯QQ：")]
        public string QQ { get; set; }

        [DisplayName("MSN：")]
        public string MSN { get; set; }
            
        [DisplayName("阿里旺旺：")]
        public string WangWang { get; set; }

        [Required(ErrorMessage = "不能为空")]
        [DisplayName("验证码：")]
        public string ValidateCode { get; set; }
    }
}
